import 'dart:collection';

class ApiConfig{


  static final String BASE_HOST = "sitappapi.1yuan.cn";

  //接口
  static final String GET_SMS_CODE = "appapi/sms/app/getcode";//短信验证码

  static final String APPLOGIN = "user/applogin/mobile/new";//手机号验证码登录


  static Map<String,dynamic> params = HashMap();
  static Map<String,dynamic> getBaseParamsMap(){
    params.clear();
    params.addAll(ApiConfig.BASE_PARAMS);
    return params;
  }

  static final Map<String,dynamic> BASE_PARAMS = {
    "os":"1",
    "expandJson":"",
    "versionName":"1.0.6",
    "ua":"Mozilla/5.0 (Linux; Android 10; MIX 2S Build/QKQ1.190828.002; wv) AppleWebKit/537.36 (KHTML, like Gecko) "
        "Version/4.0 Chrome/83.0.4103.101 Mobile Safari/537.36",
    "version":"7",
    "systemVersion":"10",
    "versionCode":'7',
    "mac":"9C:2E:A1:D1:4A:D5","manufacturer":"Xiaomi",
    "clientType":'1',
    "pcguestid":"",
    "imei":"",
    "model":"MIX 2S",
    "packageName":"com.qlbs.youxiaofu",
    "networkType":"WIFI",
    "guestId":"144a903b-ed2d-42d6-87fc-aa2915e82f9b",
    "guestid":"144a903b-ed2d-42d6-87fc-aa2915e82f9b",
    "androidId":"867d5da7199bc2bd",
    "oaid":"857d8fa4b8e499d9",
    "timestamp":'1651933115221'};

}